import {defineConfig} from 'vite';
import vue from '@vitejs/plugin-vue';
import AutoImport from "unplugin-auto-import/vite";
import WindiCSS from 'vite-plugin-windicss';
import path from "path";
const pathSrc = path.resolve(__dirname, 'src')
// https://vitejs.dev/config/
export default defineConfig({
    server: {},
    resolve:{
        alias: {
            "@": path.resolve(__dirname, "src"),
            "@/*": path.resolve(__dirname, "src/*")
        }
    },
    plugins: [
        vue(),
        WindiCSS(),
        AutoImport({
            imports: [
                'vue',
                {
                    "lodash": [
                        ["*", "_"]
                    ]
                }
            ],
        })
    ],
})
